# -*- coding: utf-8 -*-
import json
import urllib

url = "http://chat.radio-t.com:18000/data/jsonp?mode=last"
result = urllib.urlopen(url).read()
r = result[12:]
r = r[:-3]
deserialized_json_obj = json.loads(r, encoding="utf-8")
name = [radio['from'].encode("utf-8") for radio in deserialized_json_obj['records']]
msg = [radio['msg'].encode("utf-8") for radio in deserialized_json_obj['records']]
for i in range (len(name)):
    print "{0}: {1}".format(name[i], msg[i])